package com.ruoyi.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 《智慧停车系统》--车位表
 * </p>
 *
 * @author 贾玉亮
 * @since 2022-11-14
 */
@Getter
@Setter
@TableName("p_park")
@ApiModel(value = "Park对象", description = "《智慧停车系统》--车位表")
public class Park implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("车位id")
      private Long id;

    @ApiModelProperty("车位号")
    private String parkingNum;

    @ApiModelProperty("路段外键id")
    private Long fkSectionId;

    @ApiModelProperty("车位录入状态 0-录入 1-未录入")
    private String status;

    @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("逻辑删除  0-未删除 1-已删除")
    @TableLogic
    private Integer isDeleted;


}
